$(function() {
    new Lazyload({});
    $('.comm-slide-nav').load('slidenav.html');
    $('.index-footer').load('footer.html');
    $('.comm-nav div:nth-child(2)').click(function() {
        $('.comm-cover').css({'top':'0','z-index':'60'}).show();
        $('.comm-slide-nav').css('right', '0');
        
    });
    $('.comm-cover').click(function() {
        $('.comm-slide-nav').css('right', '-70%');
        $('.comm-cover').hide();
    });
    
//禁止遮罩滑动
    $('.comm-cover').on('touchmove', function(event) {
        event.preventDefault();
    });
    
    
});